/*
 * Copyright (C) 2010-2011 Comcast Cable.  All Rights Reserved.
 */
package com.hercules.android.receiver.connection;

/**
 * <p>
 * This is a custom exception that will be thrown by ServerConnection implementations if any errors occur.
 * </p>
 * <p>
 * <strong> Thread safety:</strong> It is not thread safe since its base class is not thread safe.
 * </p>
 *
 * @author DanLazar, morehappiness
 * @version 1.0
 */
public class ServerConnectionException extends Exception {
    /**
     * The generated serial version UID.
     */
    private static final long serialVersionUID = 7705580474192155357L;

    /**
     * Creates a new instance with the given message.
     *
     * @param message
     *            the error message
     */
    public ServerConnectionException(String message) {
        super(message);
    }

    /**
     * Creates a new instance with the given message an cause.
     *
     * @param message
     *            the error message
     * @param cause
     *            the error cause
     */
    public ServerConnectionException(String message, Throwable cause) {
        super(message, cause);
    }
}
